import request from '@/utils/request'

// 查询地标收录列表
export function listTdmDiBiaoShouLu(query) {
  return request({
    url: '/admin/TdmDiBiaoShouLu/list',
    method: 'get',
    params: query
  })
}

// 查询地标收录详细
export function getTdmDiBiaoShouLu(id) {
  return request({
    url: '/admin/TdmDiBiaoShouLu/' + id,
    method: 'get'
  })
}

// 新增地标收录
export function addTdmDiBiaoShouLu(data) {
  return request({
    url: '/admin/TdmDiBiaoShouLu',
    method: 'post',
    data: data
  })
}

// 修改地标收录
export function updateTdmDiBiaoShouLu(data) {
  return request({
    url: '/admin/TdmDiBiaoShouLu',
    method: 'put',
    data: data
  })
}

// 删除地标收录
export function delTdmDiBiaoShouLu(id) {
  return request({
    url: '/admin/TdmDiBiaoShouLu/' + id,
    method: 'delete'
  })
}
// 审核
export function to_examine(id,shenHe,pinZhong) {
  const data = {id, shenHe,pinZhong}
  return request({
    url: '/admin/examine',
    method: 'put',
    data:data
  })
}
